class TipoSegnalazione < ActiveRecord::Base
  acts_as_paranoid unless SHOW_DELETED
  RIFERIMENTO = ["Partner", "Personale", "Veicolo", "Attrezzo"]
  validates_presence_of :name, :riferimento_type, :filtro_riferimento
  validates_uniqueness_of :name, :scope => :deleted_at, :case_sensitive => false
end
